projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aefec46
)
Fix compilation warning: cast to GCompareFunc
author
Javier Jardón
<jjardon@gnome.org>
Wed, 10 Feb 2010 23:56:48 +0000
(
00:56
+0100)
committer
Javier Jardón
<jjardon@gnome.org>
Wed, 10 Feb 2010 23:57:13 +0000
(
00:57
+0100)
gtk/gtkscale.c
patch
|
blob
|
history
diff --git
a/gtk/gtkscale.c
b/gtk/gtkscale.c
index 4c3f478506e66201dc59584375de2dcc49ebe4de..a69e05375f99bdfea21ffe38f47e0358e295bafc 100644
(file)
--- a/
gtk/gtkscale.c
+++ b/
gtk/gtkscale.c
@@
-1426,7
+1426,8
@@
gtk_scale_add_mark (GtkScale *scale,
mark->markup = g_strdup (markup);
mark->position = position;
- priv->marks = g_slist_insert_sorted (priv->marks, mark, compare_marks);
+ priv->marks = g_slist_insert_sorted (priv->marks, mark,
+ (GCompareFunc) compare_marks);
n = g_slist_length (priv->marks);
values = g_new (gdouble, n);